# Generated manually for exciting battle feature

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('battles', '0022_battle_save_round_inputs_and_more'),
    ]

    operations = [
        migrations.AddField(
            model_name='battle',
            name='is_exciting',
            field=models.BooleanField(default=False, verbose_name='是否为精彩战斗'),
        ),
        migrations.AddField(
            model_name='battle',
            name='excitement_score',
            field=models.FloatField(default=0.0, verbose_name='精彩程度评分'),
        ),
        migrations.AddField(
            model_name='battle',
            name='is_manually_marked',
            field=models.BooleanField(default=False, verbose_name='是否手动标记'),
        ),
        migrations.AddField(
            model_name='battle',
            name='excitement_calculated_at',
            field=models.DateTimeField(blank=True, null=True, verbose_name='精彩程度计算时间'),
        ),
        migrations.AddIndex(
            model_name='battle',
            index=models.Index(fields=['is_exciting', '-excitement_score'], name='battles_battle_is_exciting_excitement_score_idx'),
        ),
        migrations.AddIndex(
            model_name='battle',
            index=models.Index(fields=['excitement_score'], name='battles_battle_excitement_score_idx'),
        ),
    ]